/**
 * @author shenw
 */
var frameZIndexCounter = 0;

var KEY_UP = 38;
var KEY_DOWN = 40;
var KEY_LEFT = 37;
var KEY_RIGHT = 39;
var KEY_SPACE = 32;
var KEY_ENTER = 13;

var gameState = null;

var consoleImages = {};

var frameLights = [
	{name:"imgGameFrameLeftLight1", "left":0, "top":22},
	{name:"imgGameFrameLeftLight2", "left":0, "top":64},
	{name:"imgGameFrameLeftLight3", "left":0, "top":107},
	{name:"imgGameFrameLeftLight4", "left":0, "top":150},
	{name:"imgGameFrameLeftLight5", "left":0, "top":193},
	{name:"imgGameFrameRightLight1", "left":220, "top":20},
	{name:"imgGameFrameRightLight2", "left":220, "top":64},
	{name:"imgGameFrameRightLight3", "left":220, "top":107},
	{name:"imgGameFrameRightLight4", "left":220, "top":150},
	{name:"imgGameFrameRightLight5", "left":220, "top":193}
];